package com.bigdata.service.domain.bo;

import com.bigdata.common.core.validate.AddGroup;
import com.bigdata.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.bigdata.common.core.domain.BaseEntity;

/**
 * 平台系统配置业务对象 sys_bank_account_config
 *
 * @author ruoyi
 * @date 2025-08-20
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class SysBankAccountConfigBo extends BaseEntity {

    /**
     * 配置项
     */
    @NotNull(message = "配置项不能为空", groups = { EditGroup.class })
    private Long configId;

    /**
     * 收款人姓名
     */
    @NotBlank(message = "收款人姓名不能为空", groups = { AddGroup.class, EditGroup.class })
    private String payeeName;

    /**
     * 银行账号
     */
    @NotBlank(message = "银行账号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String accountNumber;

    /**
     * 开户行
     */
    @NotBlank(message = "开户行不能为空", groups = { AddGroup.class, EditGroup.class })
    private String bankName;

    /**
     * 支行名称
     */
    @NotBlank(message = "支行名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String branchName;

    /**
     * 是否启用
     */
    @NotNull(message = "是否启用不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer isActive;

    /**
     * 支付二维码
     */
    @NotBlank(message = "支付二维码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String payImageUrl;

    /**
     * 平台介绍
     */
    @NotBlank(message = "平台介绍不能为空", groups = { AddGroup.class, EditGroup.class })
    private String platformIntroduction;

    /**
     * 隐私与版权
     */
    @NotBlank(message = "隐私与版权不能为空", groups = { AddGroup.class, EditGroup.class })
    private String privacyAndCopyright;


}
